
package XMLForms;

/**
 *
 * @author yuxia
 */
public class TVFM {
    private TTRM ttrm;
    private String eMsg;
    private String field;

    public String geteMsg() {
        return eMsg;
    }

    public String getField() {
        return field;
    }

    public TVFM(TTRM t, String f, String msg){
        ttrm = t;
        eMsg = msg;
        field = f;
    }

    public String getErrorMessage(){
        return eMsg;
    }

    public TTRM getTtrm() {
        return ttrm;
    }
    
    public String getTraderID(){
        return ttrm.getTraderID();
    }
    
    @Override
    public String toString(){
        return field + eMsg;
    }
}
